<?xml version='1.0' encoding='UTF-8' ?>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:fn="http://java.sun.com/jsp/jstl/functions"
                xmlns:h="http://java.sun.com/jsf/html"
                template="/WEB-INF/templates/login.xhtml">

    <ui:define name="content">
        <h:form>
            <h:panelGrid columns="2">
                <h:outputLabel value="#{msg['username']}" for="username"/>
                <h:inputText id="username" value="#{authenticator.username}" />

                <h:outputLabel value="#{msg['password']}" for="password" />
                <h:inputSecret id="password" value="#{authenticator.password}"/>

                <h:commandButton class="btn" action="#{authenticator.login}" value="#{msg['logMeIn']}" />
            </h:panelGrid>

            <div class="hint">
                <h:outputText value="#{msg['loginform.defaultLogin']} "/>
                1/pass, 3/pass
            </div>
            <br />
        </h:form>
    </ui:define>
</ui:composition>

